<!DOCTYPE html>
<html>
<head>
<title>Bug 1083892</title>
<style>
div {
  width:300px;
  height:300px;
  padding:10px;
  border:1px solid black;
  writing-mode:vertical-rl;
}
</style>
</head>

<body>
<div>
  This is the <b><i>first</i> paragraph</b>. It's long enough to wrap onto multiple lines.<br>
  <b>Paragraph <i>two</i></b>.<br>
  <b><i>Third and final</i> paragraph</b> of this simple testcase. That's all, folks!
</div>
</body>

</html>
